package com.aiyige.page.selectinterest.model;

/**
 * Created by zhuyakun on 2017/10/25.
 */

public class StateItem {
    public static final int TYPE_CLEAN = 0;
    public static final int TYPE_INTEREST = 1;
    public static final int TYPE_ALL_INTEREST = 2;
    String id;
    String parentId;
    String title;
    int type;

    public StateItem(String id, String parentId, String title, int type) {
        this.id = id;
        this.title = title;
        this.type = type;
        this.parentId = parentId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public static final StateItem CLEAN = new StateItem("-1", "-1", "", TYPE_CLEAN);

}
